
SET(__TempHeader UserInfo.h)
SET(__TempHeaders_qt4 SelfAction.h)
FILE(GLOB __Sources *.cpp)

FOREACH(fileName ${__TempHeader})
  STRING(REGEX REPLACE "(.*h$)" "${CMAKE_CURRENT_SOURCE_DIR}/\\1" pro ${fileName})
  LIST(APPEND __Headers ${pro})
ENDFOREACH(fileName)

FOREACH(fileName ${__TempHeaders_qt4})
  STRING(REGEX REPLACE "(.*h$)" "${CMAKE_CURRENT_SOURCE_DIR}/\\1" pro ${fileName})
  LIST(APPEND __Headers_qt4 ${pro})
ENDFOREACH(fileName)

#QT4_WRAP_CPP(_Sources_moc ${Headers_qt4})
SET(QClassSelfHeaders ${__Headers_qt4} PARENT_SCOPE)
SET(QClassSelfHeaders_qt4 ${__Headers_qt4} PARENT_SCOPE)
SET(QClassSelfSources ${__Sources} PARENT_SCOPE)


